package edu.unlv.cs.ladders.entities;

import java.lang.String;

privileged aspect Event_Roo_ToString {
    
    public String Event.toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("Id: ").append(getId()).append(", ");
        sb.append("Version: ").append(getVersion()).append(", ");
        sb.append("Created: ").append(getCreated().getTime()).append(", ");
        sb.append("Updated: ").append(getUpdated().getTime()).append(", ");
        sb.append("ChallengeHistory: ").append(getChallengeHistory() == null ? "null" : getChallengeHistory().size()).append(", ");
        sb.append("Winner: ").append(getWinner()).append(", ");
        sb.append("Note: ").append(getNote()).append(", ");
        sb.append("ChallengerScore: ").append(getChallengerScore()).append(", ");
        sb.append("DefenderScore: ").append(getDefenderScore()).append(", ");
        sb.append("Challenger: ").append(getChallenger()).append(", ");
        sb.append("Defender: ").append(getDefender()).append(", ");
        sb.append("Tournament: ").append(getTournament()).append(", ");
        sb.append("DateOfEvent: ").append(getDateOfEvent().getTime());
        return sb.toString();
    }
    
}
